package com.huqing.icu.rentuser.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huqing.icu.rentuser.dto.UserNumPanelQueryDto;
import com.huqing.icu.rentuser.model.UserNumPanel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserNumPanelMapper extends BaseMapper<UserNumPanel> {

    Integer getNumByCondition(UserNumPanelQueryDto queryDto);

    List<UserNumPanel> selectByCondition(UserNumPanelQueryDto queryDto);

    List<UserNumPanel> selectDateByDate(@Param("dateList") List<String> dateList);

    Integer incrAddUserNumAndUserNum(@Param("id") Long id);

    Integer incrActiveUserNum(@Param("id") Long id);
}
